package br.edu.ifmg.ada.model.business;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;


@DatabaseTable(tableName="tb_controle_frequencia")
public class ControleFrequencia {

	@DatabaseField(foreign=true, canBeNull=false, columnName="id_aluno")
	private Aluno aluno;
	@DatabaseField(foreign=true, canBeNull=false, columnName="id_aula")
	private Aula aula;
	@DatabaseField(foreign=true, canBeNull=false, columnName="id_status")
	private Status status;
	
	public ControleFrequencia(){}
	public ControleFrequencia(Aluno aluno, Aula aula, Status status){
		this.aluno = aluno;
		this.aula = aula;
		this.status = status;
	}
	public Aluno getAluno() {
		return aluno;
	}
	public void setAluno(Aluno aluno) {
		this.aluno = aluno;
	}
	public Aula getAula() {
		return aula;
	}
	public void setAula(Aula aula) {
		this.aula = aula;
	}
	public Status getStatus() {
		return status;
	}
	public void setStatus(Status status) {
		this.status = status;
	}
	
}
